package com.baisc.datastructur.test.sort;

import java.util.List;

public class ConsoleHelper {

	public static void print(List<?> list) {
		if (null != list && list.size() > 0) {
			for (Object t : list) {
				System.out.print(t + " ");
			}
			System.out.println("");
		}
	}

	public static <T> void print(T[] arr) {
		if (null != arr && arr.length > 0) {
			for (T t : arr) {
				System.out.print(t + " ");
			}
			System.out.println("");
		}
	}
	
	
}
